﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pay.DTO {
    /// <summary>
    /// 用户反馈
    /// </summary>
    [JsonObject(MemberSerialization.OptOut)]
    [Serializable]
    public class freeback_model {
        /// <summary>
        /// 联系方式
        /// </summary>
        public string contact { get; set; }
        /// <summary>
        /// 反馈内容
        /// </summary>
        [Required(ErrorMessage = "反馈内容不能为空"),StringLength(maximumLength:500, ErrorMessage ="反馈内容字符长度不能超过500")]
        public string content { get; set; }
        /// <summary>
        /// 用户id
        /// </summary>
        [JsonIgnore]
        public long merchant_id { get; set; }

    }
}
